﻿@model Student


@{
    ViewData["Title"] = "学生信息详情";

    var photoPath = "~/images/"+(Model.photopath?? "timg.jpg");
}

<p>@Model.Id</p>

<p>@Model.Name</p>

<p>@Model.ClassName</p>

<p><img src="@photoPath" asp-append-version="true" class="card-img-top" width="200" height="200" /></p>

<br />
<a asp-controller="home" asp-action="index" >返回</a>






@section Scripts
{
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>

    <script>

        $(function () {

           
        });
    </script>
}


